home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 2002 November / SGI Freeware 2002 November - Disc 1.iso / dist / fw_amp.idb / usr / freeware / src / amp / patches.z / patches
Text File  |  1998-05-21  |  4KB  |  153 lines

  1. *** ./Makefile.in    Sat Aug 23 02:54:35 1997
  2. --- ../amp-0.7.6.port/./Makefile.in    Sat Dec 27 09:02:52 1997
  3. ***************
  4. *** 8,15 ****
  5.   
  6.   CC = @CC@
  7.   DEFINES = @DEFINES@ 
  8. ! CFLAGS = @CFLAGS@ ${DEFINES} ${DEBUG}
  9.   LDFLAGS = @LDFLAGS@
  10.   
  11.   #
  12.   # uncomment both of these if you want profiling support
  13. --- 8,18 ----
  14.   
  15.   CC = @CC@
  16.   DEFINES = @DEFINES@ 
  17. ! CFLAGS  = @CFLAGS@ ${DEFINES} ${DEBUG}
  18.   LDFLAGS = @LDFLAGS@
  19. + prefix  = @prefix@
  20. + exec_prefix = @exec_prefix@
  21. + INSTALL = install
  22.   
  23.   #
  24.   # uncomment both of these if you want profiling support
  25. ***************
  26. *** 47,52 ****
  27.       $(CC) -S $(CFLAGS) $(GGDB) $(PG) $< 
  28.   
  29.   dep:
  30. !     gcc -MM ${DEFINES} ${DEBUG} *.c > .depend
  31.   
  32.   #-include .depend
  33. --- 50,58 ----
  34.       $(CC) -S $(CFLAGS) $(GGDB) $(PG) $< 
  35.   
  36.   dep:
  37. !     ${CC} -MM ${DEFINES} ${DEBUG} *.c > .depend
  38. ! install: 
  39. !     ${INSTALL} -m 555 -F ${exec_prefix}/bin amp
  40.   
  41.   #-include .depend
  42. *** ./args.c    Sat Aug 16 11:33:51 1997
  43. --- ../amp-0.7.6.port/./args.c    Sat Nov 29 01:14:32 1997
  44. ***************
  45. *** 103,108 ****
  46. --- 103,114 ----
  47.       A_MSG_STDOUT=FALSE;
  48.       A_DOWNMIX=FALSE;
  49.   
  50. +     /* if no arguments... */
  51. +     if (argc==1 && isatty(fileno(stdin)))
  52. +         {
  53. +         displayUsage(); /* this will exit(0) itself */
  54. +         }
  55. +     /* else, there are arguments to parse */
  56.       while (1) {
  57.           static struct option long_options[] =    {
  58.               {"help", no_argument, 0, 'h'},
  59. *** ./transform.h    Sat May 31 10:47:58 1997
  60. --- ../amp-0.7.6.port/./transform.h    Wed Dec 24 13:03:12 1997
  61. ***************
  62. *** 6,15 ****
  63.    * Created by: tomislav uzelac  May 1996
  64.    * Last modified by: tomislav uzelac  Mar  1 97
  65.    */
  66.   extern void imdct_init();
  67.   extern void imdct(int win_type,int sb,int ch);
  68. ! extern void poly(int ch,int i);
  69.   extern void premultiply();
  70.   
  71.   extern short sample_buffer[18][32][2];
  72.   extern float res[32][18];
  73. --- 6,17 ----
  74.    * Created by: tomislav uzelac  May 1996
  75.    * Last modified by: tomislav uzelac  Mar  1 97
  76.    */
  77. + #ifndef TRANSFORM
  78.   extern void imdct_init();
  79.   extern void imdct(int win_type,int sb,int ch);
  80. ! extern void poly(const int ch,int i);
  81.   extern void premultiply();
  82. + #endif /* ifndef TRANSFORM */
  83.   
  84.   extern short sample_buffer[18][32][2];
  85.   extern float res[32][18];
  86. ***************
  87. *** 19,25 ****
  88.   
  89.   void imdct_init();
  90.   void imdct(int win_type,int sb,int ch);
  91. ! void poly(int ch,int i);
  92.   void premultiply();
  93.   
  94.   short sample_buffer[18][32][2];
  95. --- 21,27 ----
  96.   
  97.   void imdct_init();
  98.   void imdct(int win_type,int sb,int ch);
  99. ! void poly(const int ch,int i);
  100.   void premultiply();
  101.   
  102.   short sample_buffer[18][32][2];
  103. *** ./huffman.c    Thu Aug 21 03:42:13 1997
  104. --- ../amp-0.7.6.port/./huffman.c    Fri Dec 26 22:01:16 1997
  105. ***************
  106. *** 6,11 ****
  107. --- 6,12 ----
  108.    * Created by: tomislav uzelac  Mar,Apr 1996
  109.    * Last modified by: tomislav uzelac Mar  8 97
  110.    */
  111. + #include "config.h"
  112.   #include "audio.h"
  113.   #include "getbits.h"
  114.   
  115. *** ./guicontrol.c    Sat Aug 23 04:30:51 1997
  116. --- ../amp-0.7.6.port/./guicontrol.c    Wed Dec 24 13:18:36 1997
  117. ***************
  118. *** 254,264 ****
  119.   
  120.            fdhdr.cmsg_len = sizeof(struct m_cmsghdr);
  121.            fdhdr.cmsg_level = SOL_SOCKET;
  122. !          fdhdr.cmsg_type = SCM_RIGHTS;
  123.            fdhdr.fd = 0;
  124.   
  125. !          hdr.msg_control = &fdhdr;
  126. !          hdr.msg_controllen = sizeof(struct m_cmsghdr);
  127.   
  128.            if(recvmsg(receive_fd, &hdr, 0) < 0)
  129.          perror("recvmsg");
  130. --- 254,264 ----
  131.   
  132.            fdhdr.cmsg_len = sizeof(struct m_cmsghdr);
  133.            fdhdr.cmsg_level = SOL_SOCKET;
  134. ! /*         fdhdr.cmsg_type = SCM_RIGHTS; */
  135.            fdhdr.fd = 0;
  136.   
  137. ! /*         hdr.msg_control = &fdhdr; */
  138. ! /*         hdr.msg_controllen = sizeof(struct m_cmsghdr); */
  139.   
  140.            if(recvmsg(receive_fd, &hdr, 0) < 0)
  141.          perror("recvmsg");
  142. ***************
  143. *** 376,381 ****
  144. --- 376,382 ----
  145.         case GETHDR_SYN: warn("oops, we're out of sync.\n");
  146.       break;
  147.         default: 
  148. +     ; /* NOP */
  149.         }
  150.         break;
  151.       }
  152.